package com.lianzai.shop.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.web.multipart.commons.CommonsMultipartFile;

import java.io.Serializable;
import java.util.Date;

public class TicketOrder implements Serializable {
    private static final long serialVersionUID = 1L;
    private Long id;
    private String orderCode;
    private String orderPrice;
    private Double orderDiscountPrice;
    private Double orderOriginPrice;
    private Double payAmt;
    private Integer orderStatus;
    private String payNo;
    private String userId;
    private String userName;
    private String ticketId;
    private String ticketName;
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm", timezone = "GMT+8")
    private Date payTime;
    private Integer payType;
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm", timezone = "GMT+8")
    private Date createTime;
    private Long orderTicketNum;
    private Long freeTicketNum;
    private String openId;
    private Long communityId;//小区id
    private String communityName;//小区名字
    private Long minute;
    private Double price;
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public String getOrderPrice() {
        return orderPrice;
    }

    public void setOrderPrice(String orderPrice) {
        this.orderPrice = orderPrice;
    }

    public Double getOrderDiscountPrice() {
        return orderDiscountPrice;
    }

    public void setOrderDiscountPrice(Double orderDiscountPrice) {
        this.orderDiscountPrice = orderDiscountPrice;
    }

    public Double getOrderOriginPrice() {
        return orderOriginPrice;
    }

    public void setOrderOriginPrice(Double orderOriginPrice) {
        this.orderOriginPrice = orderOriginPrice;
    }

    public Double getPayAmt() {
        return payAmt;
    }

    public void setPayAmt(Double payAmt) {
        this.payAmt = payAmt;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getPayNo() {
        return payNo;
    }

    public void setPayNo(String payNo) {
        this.payNo = payNo;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getTicketId() {
        return ticketId;
    }

    public void setTicketId(String ticketId) {
        this.ticketId = ticketId;
    }

    public String getTicketName() {
        return ticketName;
    }

    public void setTicketName(String ticketName) {
        this.ticketName = ticketName;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public Integer getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getOrderTicketNum() {
        return orderTicketNum;
    }

    public void setOrderTicketNum(Long orderTicketNum) {
        this.orderTicketNum = orderTicketNum;
    }

    public Long getFreeTicketNum() {
        return freeTicketNum;
    }

    public void setFreeTicketNum(Long freeTicketNum) {
        this.freeTicketNum = freeTicketNum;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public Long getCommunityId() {
        return communityId;
    }

    public void setCommunityId(Long communityId) {
        this.communityId = communityId;
    }

    public String getCommunityName() {
        return communityName;
    }

    public void setCommunityName(String communityName) {
        this.communityName = communityName;
    }

    public Long getMinute() {
        return minute;
    }

    public void setMinute(Long minute) {
        this.minute = minute;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }
}
